package ai.mspbots.service.report.message.provider;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.kafka.core.KafkaTemplate;
import org.springframework.stereotype.Component;

@Component
public class KafkaSender {
    private static final String topics = "ms-apm";
    @Autowired
    KafkaTemplate kafkaTemplate;

    public void sendMessage(String message) {
        kafkaTemplate.send(topics, message);
    }

}
